use strict;
use warnings;

package Gravity::Model::Custodian;
use Jifty::DBI::Schema;

use Gravity::Record schema {

    column matter =>
        label is 'Matter',
        references Gravity::Model::Matter,
        is mandatory,
    ;

    column person =>
        label is 'Person',
        references Gravity::Model::Person,
        is mandatory,
    ;

    column status =>
        label is 'Status',
        type is 'text',
        valid_values are [
            { display => 'Active',   value => 'active' },
            { display => 'Inactive', value => 'inactive' },
        ],
        is mandatory,
    ;

};

sub since { '0.0.2' }

1;

